package com.click369.crm.common;
/**
 * 通用包
 * @author Administrator
 *
 */
public class ResultVo {
	
	//相应 状态：404没有查询到，500内部错误
	private Integer status = 200;
	//响应的提示信息
	private String msg;
	//总数
	private Long total;
	//行
	private Object rows;
	
	public ResultVo(Integer status,String msg,Long total,Object rows){
		this.status = status;
		this.msg = msg;
		this.total = total;
		this.rows = rows;
	}
	
	public ResultVo(Integer status,String msg){
		this.status = status;
		this.msg = msg;
	}
	
	public ResultVo(Long total,Object rows){
		this.total = total;
		this.rows = rows;
	}
	
	public ResultVo(Object rows){
		this.rows = rows;
	}
	
	public ResultVo(){}
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}
}
